package com.example.springbootproject.mapper;/*
 *@author 王志威
 *@datatime 2024/4/21 20:01
 *@editnote
 */

import com.example.springbootproject.pojo.Teacher;
import lombok.extern.slf4j.Slf4j;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface TeacherMapper {
    boolean findTeacherByName(String teacherName);

    void addTeacher(Teacher teacher);

    boolean findTeacherById(Integer id);

    void deleteTeacher(Integer id);

    void updateTeacher(Teacher teacher);

    void findTeacher(Integer id);
}
